#pragma once

#include <iostream>
#include <string>

#include "ResourceManager.h"

class Resource
{
protected:
	int m_id;
	static int idCounter;

public:
	Resource():m_id(idCounter++) {}
	virtual ~Resource();

	virtual int LoadFromFile(ResourceManager::ResourceType resType, std::string path)=0;

	int GetID() const { return m_id; }

};